package test3.experiment1;

import javax.swing.*;

public class Num1 {
    public static void main(String[] args) {
        JFrame helloWorldSwing = new JFrame("HelloWorldSwing");
        final JLabel jLabel = new JLabel("Hello World", JLabel.CENTER);
        helloWorldSwing.add(jLabel);
        helloWorldSwing.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        helloWorldSwing.setSize(300, 300);
        helloWorldSwing.setVisible(true);
    }
}
